package com.bdqn.homework2;

/**
 * @author ckf
 * @create 2018 09 27 10:13
 * @desc
 **/
public class Test {
    public static void main(String[] args) {
        Telephone tele=new Telephone();
        Camera camera=new Camera();
        Mobile mobile=new Mobile();
        Dvd dvd=new Dvd();
        Person person=new Person();
        person.use(tele);
        person.use(camera);
        person.use(dvd);
        person.use(mobile);
    }
}
